package yueyong.salarymanagement.module.business.salary.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import yueyong.salarymanagement.module.business.salary.domain.entity.CompanyEntity;
import yueyong.salarymanagement.module.business.salary.domain.vo.CompanyVO;

import java.util.List;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/1/26
 */
@Mapper
@Component
public interface CompanyDao extends BaseMapper<CompanyEntity> {
    List<CompanyVO> getCompanyById(@Param("companyId") int companyId);
}
